#pragma once
#include <crow.h>
#include <model/dto/employee/schedule_dto.hpp>
#include <string>

class ScheduleService {
  public:
  static ServiceResult create(ScheduleDTO& schedule_dto);
  static ServiceResult updateByScheduleId(const std::string& schedule_id,
                                          ScheduleDTO& schedule_dto);
  static ServiceResult removeByScheduleId(const std::string& schedule_id);
  static ServiceResult getByPage(const int page, const int page_size);
  static ServiceResult getAll();
};
